﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO_QLNS
{
    public class CustomerDTO : TransferObject
    {
        public CustomerDTO() { }

        public CustomerDTO(CustomerDTO customer)
        {
            _CustomerID = customer.CustomerID;
            _CustomerName = customer.CustomerName;
            _Password = customer.Password;
            _Email = customer.Email;
        }

        public CustomerDTO(int id, string name, string pass, string email)
        {
            _CustomerID = id;
            _CustomerName = name;
            _Password = pass;
            _Email = email;
        }

        private int _CustomerID;
        public int CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        private string _CustomerName;
        public string CustomerName
        {
            get { return _CustomerName; }
            set { _CustomerName = value; }
        }

        private string _Password;
        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

        private string _Email;
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
    }
}
